package com.giantlizard.cloud.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.giantlizard.cloud.system.entity.SysRole;
import com.giantlizard.cloud.system.vo.SysRoleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统-角色 Mapper 接口
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<SysRoleVo> selectRolesByUserId(@Param("userId") String userId);
}